/* 版心 */
.w {
  width: 1200px;
  margin: auto;
}
/* 左浮动 */
.fl {
  float: left;
}
/* 又浮动 */
.fr {
  float: right;
}
/* <!-- 头部导航开始 --> */
.top_nav {
  width: 100%;
  height: 520px;
  background: url(../images/2021611113166829.jpeg) no-repeat;
  background-size: 100% auto;
}
.nav_bg {
  position: sticky;
  top: 0;
  z-index: 999;
  height: 55px;
  background-color:rgba(44, 44, 44, 0.9);;
}

.nav_bg .logo {
  width: 105px;
  height: 35px;
  margin: 10px 20px;
}
.nav_bg .logo img {
  width: 105px;
  height: 35px;
}
.nav_bg .nav {
  float: left;
  margin-left: 1%;
  position: relative;
}
.nav li {
  float: left;
  position: relative;
}
.nav li > a {
  display: inline-block;
  padding: 0px 12px;
  font-size: 14px;
  height: 55px;
  line-height: 50px;
  position: relative;
  z-index: 2;
  color: #fff;
}
.nav .subnav {
  position: absolute;
  left: 0px;
  top: 55px;
  width: 150px;
  height: 300px;
  background: none rgba(44, 44, 44, 0.9);
  padding: 16px 0px;
  display: none;
}
.nav li .subnav p a {
  display: inline-block;
  width: 42%;
  padding: 0px 12px;
  font-size: 14px;
  height: 55px;
  line-height: 50px;
  color: #fff;
}
.nav li .subnav p a:hover {
  background-color: #8cc227;
}
.nav li > a:hover {
  background-color: #333;
}
.nav li:hover .subnav {
  display: block;
}
.nav .subnav p {
  width: 300px;
  /* padding: 10px 20px; */
  height: 40px;
  line-height: 40px;
  /* text-align: center; */
}
.nav_bg .user {
  height: 100%;
  line-height: 55px;
  font-size: 14px;
  color: #fff;
  margin-right: 40px;
}
.nav_bg .user span {
  margin: 0 5px;
}
.nav_bg .user span:nth-child(1),
.nav_bg .user span:nth-child(3) {
  font-size: 20px;
  margin: 0 3px;
}
.nav_bg .user span a {
  color: #fff;
}
.nav_bg .user span a:hover {
  color: #8cc227;
}
/* <!-- 头部导航结束 --> */

/* <!-- 尾部导航开始 --> */
.footer {
  width: 100%;
  height: 250px;
  padding-top: 30px;
  background-color: rgb(79, 79, 79);
}
.footer .footer_nav {
  width: 690px;
  height: 22px;
  margin: 0 auto;
  line-height: 22px;
}
.footer .footer_nav a,
.footer .footer_nav span {
  display: inline-block;
  margin: 0 3px;
  font-size: 16px;
  color: #c5c5c5;
}
.footer_info {
  width: 900px;
  margin: 20px auto;
  font-size: 14px;
  color: #c5c5c5;
}
.footer_info span a {
  color: #c5c5c5;
}
.footer_user {
  width: 440px;
  margin: 0 auto;
  text-align: center;
}
.footer_user input,
.footer_user button {
  width: 178px;
  height: 40px;
  border: 1px solid #c5c5c5;
  background-color: rgb(79, 79, 79);
  font-size: 14px;
}
.footer_user input {
  text-indent: 0.6em;
}
.footer_user input:nth-child(2) {
  margin-left: -5px;
}
.footer_user button {
  width: 40px;
  margin-left: 15px;
  color: #c5c5c5;
  border-radius: 50%;
}
.footer_user .by {
  margin-top: 10px;
  font-size: 12px;
  color: #8a8a8a;
}
.footer_w {
  width: 630px;
  margin: 20px auto;
  text-align: center;
}
.footer_w p,
.footer_w p a {
  margin: 5px 0;
  font-size: 12px;
  color: #8a8a8a;
}
/* <!-- 尾部导航结束 --> */

/* <!-- 侧边栏开始 --> */
.sidebar {
  width: 1200px;
  height: 6000px;
  margin: auto;
  background-color: red;
}
.subnav {
  position: fixed;
  right: 0;
  top: 30%;
  /* width: 60px; */
  width: 55px;
  height: 350px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.subnav li {
  width: 25px;
  height: 40px;
  padding: 15px;
  border-bottom: 1px solid #fff;
  /* background-color: rosybrown; */
}
.subnav li:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
.subnav li a {
  color: #fff;
}
.subnav li a span {
  height: 40px;
  line-height: 50px;
  color: #fff;
  font-size: 25px;
}
.subnav li:last-child {
  border-bottom: 0;
}
.subnav img {
  width: 35px;
  padding: 0 10px;
}
/* <!-- 侧边栏结束 --> */
